package com.swt.gap.service;

import com.swt.gap.common.exception.ExpiredException;
import com.swt.gap.common.exception.InvalidPasswordException;
import com.swt.gap.model.dto.AchievementShareDTO;
import com.swt.gap.model.entity.AchievementShare;
import com.swt.gap.model.vo.achievementcenter.AchievementShareInfoVO;

public interface AchievementShareService {

    AchievementShare saveAchievementShare(AchievementShareDTO achievementShareDTO);

    AchievementShare getAchievementShare(Integer achievementShareId, String password) throws InvalidPasswordException, ExpiredException;

    AchievementShareInfoVO getAchievementShareInfo(Integer achievementId);
}
